RectControl.ContextualMenuAction Event

Fires when a contextual menuitem HitItem was selected but the Action event and the MenuHandler for the menuitem did not handle the menu selection. This event gives you a chance to handle the menu selection by inspecting the menuitem's Text or Tag properties to see which item was selected.

Syntax

result = ContextualMenuAction( HitItem )


Parameters

HitItem

MenuItem

Return Value

Result

Boolean


Notes

Use this in conjunction with ConstructContextualMenu if you have not specified the Action event or the Menu Handler for the items on the contextual menu.